<template>
  <div>
    <el-button type="primary" size="default" :icon="Plus">添加</el-button>
    <el-button type="success" size="default" :icon="Edit">编辑</el-button>
    <el-button type="danger" size="default" :icon="Delete">删除</el-button>

    <pagination></pagination>
		
		<svg-icon name="lock" color="pink" width="60px" height="60px"></svg-icon>
  </div>
</template>

<script setup lang="ts">
  import { onMounted } from "vue";
  import request from "@/utils/request";
  import { Plus, Edit, Delete } from '@element-plus/icons-vue'
	onMounted(() => {
    request({
      url: '/login',
      method: 'post',
      data: {
        username: 'sdfsfd'
      }
    })
  })
</script>

<style scoped lang="scss">
  div {
    h1 {
      color: $color;
    }
  }
</style>
